<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'product-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'model'); ?>
		<?php echo $form->textField($model,'model'); ?>
		<?php echo $form->error($model,'model'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'group'); ?>
		<?php echo $form->textField($model,'group'); ?>
		<?php echo $form->error($model,'group'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'size'); ?>
		<?php echo $form->textField($model,'size'); ?>
		<?php echo $form->error($model,'size'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'description'); ?>
		<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'description'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'category'); ?>
		<?php echo $form->textField($model,'category'); ?>
		<?php echo $form->error($model,'category'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'temp_low'); ?>
		<?php echo $form->textField($model,'temp_low'); ?>
		<?php echo $form->error($model,'temp_low'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'temp_high'); ?>
		<?php echo $form->textField($model,'temp_high'); ?>
		<?php echo $form->error($model,'temp_high'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'weight'); ?>
		<?php echo $form->textField($model,'weight'); ?>
		<?php echo $form->error($model,'weight'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bearing'); ?>
		<?php echo $form->textField($model,'bearing'); ?>
		<?php echo $form->error($model,'bearing'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'voltage'); ?>
		<?php echo $form->textField($model,'voltage'); ?>
		<?php echo $form->error($model,'voltage'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'frequency'); ?>
		<?php echo $form->textField($model,'frequency'); ?>
		<?php echo $form->error($model,'frequency'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'current'); ?>
		<?php echo $form->textField($model,'current'); ?>
		<?php echo $form->error($model,'current'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'power_consume'); ?>
		<?php echo $form->textField($model,'power_consume'); ?>
		<?php echo $form->error($model,'power_consume'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'speed'); ?>
		<?php echo $form->textField($model,'speed'); ?>
		<?php echo $form->error($model,'speed'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'air_flow'); ?>
		<?php echo $form->textField($model,'air_flow'); ?>
		<?php echo $form->error($model,'air_flow'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'static_pressure'); ?>
		<?php echo $form->textField($model,'static_pressure'); ?>
		<?php echo $form->error($model,'static_pressure'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'noise'); ?>
		<?php echo $form->textField($model,'noise'); ?>
		<?php echo $form->error($model,'noise'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'picture'); ?>
		<?php echo $form->textField($model,'picture'); ?>
		<?php echo $form->error($model,'picture'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->